package com.tz.dream.architect.mvp.list.demo;

import com.tz.dream.architect.mvp.list.demo.bean.PostModel;

import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Query;
import rx.Observable;

/**
 * 作者: Dream on 16/9/24 21:15
 * QQ:510278658
 * E-mail:510278658@qq.com
 */

public interface IEssenceService {

    @GET("api_open.php?a=list&c=data")
    Call<PostModel> getEssenseList(@Query("page") int page, @Query("type") int type);

    @GET("api_open.php?a=list&c=data")
    Observable<PostModel> getLceEssenseList(@Query("page") int page, @Query("type") int type);

}
